//
//  TopCommentCell.m
//  WXMovie
//
//  Created by apple on 16/4/9.
//  Copyright © 2016年 zic_magic. All rights reserved.
//

#import "TopCommentCell.h"

@implementation TopCommentCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setModel:(TopCommentModel *)model {
    
    _model = model;
    
    [_imgView sd_setImageWithURL:[NSURL URLWithString:_model.userImage]];
    
    _userNameLabel.text = _model.nickname;
    _scoreLabel.text = _model.rating;
    _commentLabel.text = _model.content;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
